package com.gshrms.recruitment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.gshrms.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 招聘信息-招聘岗位表
 * </p>
 *
 * @author guolei
 * @since 2025-03-17
 */
@Getter
@Setter
@TableName("recruitment_info_position")
@ApiModel(value = "RecruitmentInfoPosition对象", description = "招聘职位表")
public class RecruitmentInfoPosition implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(type = IdType.INPUT)
    private String id;

    @ApiModelProperty("招聘计划id")
    private String recruitmentId;

    @ApiModelProperty("招聘计划名称")
    private String recruitmentName;

    @ApiModelProperty("用人单位id")
    private String companyId;

    @ApiModelProperty("用人单位")
    @Excel(name = "用人单位")
    private String companyName;

    @ApiModelProperty("招聘岗位")
    @Excel(name = "招聘岗位")
    private String positionTitle;

    @ApiModelProperty("拟招聘人数")
    @Excel(name = "拟招聘人数")
    private Integer quota;

    @ApiModelProperty("已入职人数")
    @Excel(name = "已入职人数")
    private Integer hiredCount;

    @ApiModelProperty("岗位职级")
    @Excel(name = "岗位职级")
    private String jobLevel;

    @ApiModelProperty("最小年龄")
    @Excel(name = "最小年龄")
    private Integer minAge;
    @ApiModelProperty("最大年龄")
    @Excel(name = "最大年龄")
    private Integer maxAge;

    @ApiModelProperty("学历")
    @Excel(name = "学历")
    private String education;

    @ApiModelProperty("专业")
    @Excel(name = "专业")
    private String major;

    @ApiModelProperty("招聘方式")
    @Excel(name = "招聘方式")
    private String hiredType;

    @ApiModelProperty("用工类型")
    @Excel(name = "用工类型")
    private String employmentType;

    @ApiModelProperty("最低薪资")
    private BigDecimal minSalary;

    @ApiModelProperty("最高薪资")
    private BigDecimal maxSalary;

    @ApiModelProperty("是否面议 0 否 1是")
    private Integer talkStatus;

    @ApiModelProperty("计划到岗时间")
    @Excel(name = "计划到岗时间")
    private LocalDate planDate;

    @ApiModelProperty("硬性条件开启状态")
    @Excel(name = "硬性条件开启状态")
    private Integer strictStatus;

    @ApiModelProperty("岗位职责")
    @Excel(name = "岗位职责")
    private String positionDesc;

    @ApiModelProperty("任职要求")
    @Excel(name = "任职要求")
    private String positionRequirement;

    @ApiModelProperty("硬性要求")
    private List<RecruitmentStrict> list;

}
